﻿<%@ Page Title="" Language="C#" MasterPageFile="/Common/Master.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentForm" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentHtml" runat="Server">
    <div data-options="region:'west',split:true" title="" style="width: 250px; padding: 10px; padding-left: 16px; border-bottom: 0px; border-left: 0px; border-top: 0px;">
        <ul class="easyui-tree" id="tree"></ul>
    </div>
    <div data-options="region:'center'" style="overflow: hidden; border-bottom: 0px; border-right: 0px; border-top: 0px;">
        <iframe scrolling="auto" frameborder="0" id="iframeRight" style="width: 100%; height: 100%;"></iframe>
    </div>
    <script type='text/javascript'>
       // var options;
        //$(function () {
        //    $.fn.Tree.Init({
        //        id: 'tree',
        //        url: '/system/tree/json.ashx?tn=System_Org&mode=select&Level=2',
        //        //data: obj,
        //        onClick: function (node) {
        //            var url = "/system/UserInfo/Index.aspx?OrgID=" + node.id;
        //            $("#iframeMain").attr("src", url);
        //        }
        //    });
        //});


        var options;
        $(function () {
            options = {
                url: '/system/tree/json.ashx',
                tn: 'System_Org',
                id: 'tree',
                menuID: 'menu',
                UrlUpdate: "/system/UserInfo/Index.aspx"
            };
            $.fn.EasyUiTree.Init(options);
        });
    </script>
</asp:Content>
